package com.repast.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.repast.common.ServerResponse;
import com.repast.service.IUrgeOrdersService;

@Controller
@RequestMapping("/urge/")
public class UrgeOrdersController {
	
	@Autowired
	private IUrgeOrdersService urgeService;
	
	@RequestMapping("urge.do")
	@ResponseBody
	public ServerResponse urgeOrders(String openid) throws Exception{
		return urgeService.urgeOrders(openid);
	}
	
}
